package com.neuedu.mybatis.dao;

import com.neuedu.mybatis.entity.Dept;
import com.neuedu.mybatis.util.SessionFactoryUtils;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * 项目：      mybatis
 * 类名:       DeptMapper
 * 创建时间：  2024/3/6 09：09
 * 描述 :
 * 作者 :     张金山
 * QQ :     314649444
 * Site:      https://jshand.gitee.io
 *
 *
 */
public interface DeptMapper {


    public List selectList() throws IOException ;
    public  long  selectCount() throws IOException ;
    public  Dept selectOne(long id ) throws IOException;
    public  int insert(Dept dept) throws IOException ;
    public  int update(Dept dept) throws IOException;
    public  int deleteById(long id) throws IOException;

}
